package errcode

//第一位数字表示类型，第二～第四位表示模块，第五到第八位表示具体场景错误码
const (
	COMMON_ERROR               = 20010000
	COMMON_DATA_NOT_EXIST      = 20010001
	COMMON_PARAMS_ERROR        = 20010002
	COMMON_TOKEN_ERROR         = 20010003 //token过期
	COMMON_USER_IDENTITY_ERROR = 20010004

	COMMON_NO_PERMISSION  = 20010005 // 无权限
	COMMON_USER_BIND_FAIL = 20010006
	COMMON_USER_UNBIND    = 20010007
	COMMON_USER_FORBIDDEN = 20010008
	COMMON_USER_BINDED    = 20010009

	COMMON_MP_USER_LACK_CODE         = 20010010 // 缺少 code 参数
	COMMON_MP_USER_LOGIN_FAILD       = 20010011 // 微信用户登录失败
	COMMON_MP_USER_GET_OPEN_ID_FAILD = 20010012

	REPORT_MY_LIST_TRANS_FAILED = 20020001 // 结构体转换失败
	REPORT_MY_LIST_GET_RECORD   = 20020002 // 结构体转换失败
)
